package com.wangyl.sharding.dal;

import com.wangyl.sharding.model.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 作者：WangYaL on 17/8/19 下午10:00.
 * 邮箱：1007486445@qq.com
 */
@Repository
public interface UserMapper {

    long insert(User user);

    long update(User user);

    List<User> getByAppUserId(long appUserId);
}
